package com.bw.service.impl;

import com.bw.entity.EmployeeAdd;
import com.bw.mapper.EmployeeMapper;
import com.bw.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    EmployeeMapper employeeMapper;

    @Transactional
    @Override
    public void add(EmployeeAdd employeeAdd) {
        employeeMapper.add(employeeAdd);

    }
}
